<script>
function transition(linkName)
{
  //console.log( $('#' + linkName).offset().top );
  $('body,html').animate({scrollTop: ($('#' + linkName).offset().top - 150)}, 0);
}
</script>
<div class="menu_frame">
  <div class="head">
    <div onmouseover="menu_analiz(this, speedUp);" onmouseout="subMenu_hide(this, speedDouwn)" id="subMenu_0" onclick="transition('main');">
      <div style="margin-top: 20px;">Главная</div>
      <div class="bg"></div>
    </div>
    <div onmouseover="menu_analiz(this, speedUp);" onmouseout="subMenu_hide(this, speedDouwn)" id="subMenu_1" onclick="transition('situation');">
      <div style="margin-top: 20px;">Вам знакомо ?</div>
      <div class="bg"></div>
    </div>
    <div onmouseover="menu_analiz(this, speedUp);" onmouseout="subMenu_hide(this, speedDouwn)" id="subMenu_2" onclick="transition('decision');">
      <div style="margin-top: 20px;">Выход есть</div>
      <div class="bg"></div>
    </div>
    <div onmouseover="menu_analiz(this, speedUp);" onmouseout="subMenu_hide(this, speedDouwn)" id="subMenu_3" onclick="transition('where');">
      <div style="margin-top: 10px;">Где доступен <br />сервис ?</div>
      <div class="bg"></div>
    </div>
    <div style="width: 208px;" onmouseover="menu_analiz(this, speedUp);" onmouseout="subMenu_hide(this, speedDouwn)" id="subMenu_4">
      <div style="margin-top: 8px;"><a href="#administrator"><img src="images/logo_2.png" style="" /></a></div>
      <div class="bg" style="background-image: url('images/bg_nav_big.png');"></div>
    </div>
  </div>
</div>